package br.com.werp.suporte.Geral;
import java.util.*;
import org.apache.struts.action.*;
import javax.servlet.http.*;

/**
 * Creation Date 26/10/2005 16:04:06
 * Last Modify Date 17/10/2006 14:47:00
 */

public class ComporActionForm extends org.apache.struts.action.ActionForm {
  public String javascript;
  public String usur_nome;
  public String[] destinatarios = new String[0];
  public String mscn_assunto;
  public String mscn_conteudo;
  public String mens_id;
  public String mens_remetente;
  private boolean valida = false;
  public ComporActionForm() {
  }
  /**
    * JAVASCRIPT: Gets the value of this field.
    */
  public String getJavascript() {
    return javascript;
  }
  /**
     * JAVASCRIPT: Sets thhe value for this field.
     */
  public void setJavascript(String JAVASCRIPT) {
    javascript = JAVASCRIPT;
  }
  /**
    * USUR_NOME: Gets the value of this field.
    */
  public String getUsur_nome() {
    return usur_nome;
  }
  /**
     * USUR_NOME: Sets thhe value for this field.
     */
  public void setUsur_nome(String USUR_NOME) {
    usur_nome = USUR_NOME;
  }
  /**
    * DESTINATARIOS: Gets the value of this field.
    */
  public String[] getDestinatarios() {
    return destinatarios;
  }
  /**
     * DESTINATARIOS: Sets thhe value for this field.
     */
  public void setDestinatarios(String[] DESTINATARIOS) {
    destinatarios = DESTINATARIOS;
  }
  /**
    * MSCN_ASSUNTO: Gets the value of this field.
    */
  public String getMscn_assunto() {
    return mscn_assunto;
  }
  /**
     * MSCN_ASSUNTO: Sets thhe value for this field.
     */
  public void setMscn_assunto(String MSCN_ASSUNTO) {
    mscn_assunto = MSCN_ASSUNTO;
  }
  /**
    * MSCN_CONTEUDO: Gets the value of this field.
    */
  public String getMscn_conteudo() {
    return mscn_conteudo;
  }
  /**
     * MSCN_CONTEUDO: Sets thhe value for this field.
     */
  public void setMscn_conteudo(String MSCN_CONTEUDO) {
    mscn_conteudo = MSCN_CONTEUDO;
  }
  /**
    * MENS_ID: Gets the value of this field.
    */
  public String getMens_id() {
    return mens_id;
  }
  /**
     * MENS_ID: Sets thhe value for this field.
     */
  public void setMens_id(String MENS_ID) {
    mens_id = MENS_ID;
  }
  /**
    * MENS_REMETENTE: Gets the value of this field.
    */
  public String getMens_remetente() {
    return mens_remetente;
  }
  /**
     * MENS_REMETENTE: Sets thhe value for this field.
     */
  public void setMens_remetente(String MENS_REMETENTE) {
    mens_remetente = MENS_REMETENTE;
  }
  /**
    * Reset all fields.
    */
  public void reset(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    javascript = null;
    usur_nome = null;
    destinatarios = new String[0];
    mscn_assunto = null;
    mscn_conteudo = null;
    mens_id = null;
    mens_remetente = null;
  }
  /**
    * Validate fields and return ActionErrors.
    */

  public ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    ActionErrors errors = new ActionErrors();
    valida = false;
    if (errors != null && errors.size() > 0) {
      javax.servlet.http.HttpSession session = request.getSession(true);
      ActionForward actionForward = null;
      session.setAttribute(mapping.getName(), this);
    }
    return errors;
  }
}
